package com.itheima.reggie.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Asin
 * 员工表实体类映射
 */
@Data
public class Employee {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String username;

    private String name;

    private String password;

    private String phone;

    private String sex;

    /**
     * 驼峰命名法 ---> 映射的字段名为 id_number
     */
    private String idNumber;

    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


    private Long createUser;


    private Long updateUser;

}
